package com.gwz.cardserver.logic;

import com.gwz.cardserver.dto.ReqBase;
import io.netty.channel.ChannelHandlerContext;

public interface IHandler {
    void channelRead(ChannelHandlerContext ctx, ReqBase reqBase);

    void channelActive(ChannelHandlerContext ctx);

    /**
     * 移除
     * @param ctx
     * @throws Exception
     */
    void handlerRemoved(ChannelHandlerContext ctx) throws Exception;
}
